<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Http\Requests\Admin\AdminRequest as Request;

class AdminController extends Controller
{
    //
    public function getCenter(Request $req)
    {
        return $req->center();
    }
    //
    public function getAdmin(Request $req)
    {
        return $req->admin();
    }
    //
    public function getAdminAdd(Request $req)
    {
        return $req->admin_add();
    }
    //
    public function getAdminEdit(Request $req)
    {
        return $req->admin_edit();
    }
    //
    public function getLogin(Request $req)
    {
        return $req->login();
    }
    //
    public function getLogout(Request $req)
    {
        return $req->logout();
    }
}
